package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("xu_feedback_reply")
public class FeedBackReplyEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 病人id，病人id就是feedback的userid
     */
    @TableField(value = "user_id")
    private Integer userId;
    /**
     * 回复内容
     */
    private String content;
    /**
     * 这条回复信息对应的问题反馈id
     */
    @TableField(value = "parent_id")
    private Integer parentId;
    /**
     * 附件  暂时不加
     */
    private String attent;
    /**
     * 回复人id
     */
    @TableField(value = "rep_id")
    private Integer repId;

    @TableField(exist = false)
    private String doctorName;

    @TableField(exist = false)
    private String patientName;
}
